﻿<html dir="LTR"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><title>ValidateReply Method</title><xml></xml><link rel="stylesheet" type="text/css" href="MSDN.css"></head><body id="bodyID" class="dtBODY"><div id="nsbanner"><div id="bannerrow1"><table class="bannerparthead" cellspacing="0"><tr id="hdr"><td class="runninghead">An NDoc Documented Class Library</td><td class="product"></td></tr></table></div><div id="TitleRow"><h1 class="dtH1">FTPControlSocket.ValidateReply Method</h1></div></div><div id="nstext"><p>  Validate the response the host has supplied against the
            expected reply. If we get an unexpected reply we throw an
            exception, setting the message to that returned by the
            FTP server
            
            </p><h4 class="dtH4">Overload List</h4><p>  Validate the response the host has supplied against the
            expected reply. If we get an unexpected reply we throw an
            exception, setting the message to that returned by the
            FTP server
            
            </p><blockquote class="dtBlock"><a href="EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply_overload_1.html">public virtual FTPReply ValidateReply(FTPReply,string);</a></blockquote><p>  Validate the response the host has supplied against the
            expected reply. If we get an unexpected reply we throw an
            exception, setting the message to that returned by the
            FTP server
            
            </p><blockquote class="dtBlock"><a href="EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply_overload_2.html">public virtual FTPReply ValidateReply(FTPReply,string[]);</a></blockquote><p>  Validate the response the host has supplied against the
            expected reply. If we get an unexpected reply we throw an
            exception, setting the message to that returned by the
            FTP server
            
            </p><blockquote class="dtBlock"><a href="EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply_overload_3.html">public virtual FTPReply ValidateReply(string,string[]);</a></blockquote><h4 class="dtH4">See Also</h4><p><a href="EnterpriseDT.Net.Ftp.FTPControlSocket.html">FTPControlSocket Class</a> | <a href="EnterpriseDT.Net.Ftp.html">EnterpriseDT.Net.Ftp Namespace</a></p></div></body></html>